]> dgit.raspbian.org Git - gnome-shell.git/commit
st/button: Use ClutterClickGesture instead of own button-press tracking
authorJonas Dreßler <verdre@v0yd.nl>
Sat, 31 Aug 2024 14:22:51 +0000 (16:22 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 28 Aug 2025 17:14:06 +0000 (19:14 +0200)
commitdd694bf1ab1b84e2212d1276c2a7f29b627d5a5f
treefd30f7e83cd74d5012c4295e4ef8340da24cfedf
parent71ee702693987131048eb8995a31f11b7b3b1e62
st/button: Use ClutterClickGesture instead of own button-press tracking

Clutter has a gesture that can take care of this now, so get rid of all the
manual tracking of events let ClutterClickGesture handle it.

st_button_fake_release() is adapted to call clutter_gesture_cancel() until
everything is ported to ClutterGesture and Clutter will take care of this
automatically.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2853>
js/ui/appDisplay.js
src/st/st-button.c